package com.nineclock.api.system;

import com.nineclock.common.entity.Result;
import com.nineclock.system.dto.SysCompanyContactConfigDTO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@Api(value ="企业通讯录字段的配置" ,tags = "系统服务" ,description = "企业通讯录字段的配置" )
public interface SysCompanyContactControllerApi {
    @ApiOperation(value = "新增企业通讯录的方法")
    public Result addCompanyContactConfig(SysCompanyContactConfigDTO sysCompanyContactConfigDTO);

    @ApiOperation(value = "查询并初始化通讯录字段")
    public Result<List<SysCompanyContactConfigDTO>> queryCompanyContactConfig();
    @ApiOperation(value = "更新企业通讯录的状态")
    public Result updateCompanyContactConfig(Long id,Short status);

    @ApiOperation(value = "删除企业通讯录")
    public Result deleteCompanyContactConfig(Long id);
}
